package com.yami.shop.service.impl;

import com.yami.shop.bean.model.BusinessNftRecord;
import com.yami.shop.dao.BusinessNftRecordMapper;
import com.yami.shop.service.BusinessNftRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 取币业务明细记录表 服务实现类
 * </p>
 *
 * @author author
 * @since 2023-05-18
 */
@Service
public class BusinessNftRecordServiceImpl extends ServiceImpl<BusinessNftRecordMapper, BusinessNftRecord> implements BusinessNftRecordService {
    @Autowired
    private BusinessNftRecordMapper businessNftRecordMapper;
    @Override
    public void updateStatusByBusinessNftId( Long businessNftId,Integer status, String reason) {
        businessNftRecordMapper.updateStatusByBusinessNftId(businessNftId,status,reason);
    }
}
